package com.it.tydic.estate.module.model.Dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @description:
 * @author: liuhui
 * @createDate: 2020/3/3
 * @version: 1.0
 */
@Table(name = "tb_move_in")
@Data
public class TbMoveInDto implements Serializable {

    /**
     * 主键
     */
    @Id
    @Column(name = "UID")
    private String uid;

    /**
     * 管理处
     */
    @Column(name = "MANAGEMENT")
    private String management;

    /**
     * 楼宇
     */
    @Column(name = "BUILDING")
    private String building;

    /**
     * 入住日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "CHECK_DATE")
    private Date checkDate;

    /**
     * 收费服务对象
     */
    @Column(name = "PAIDOBJECT")
    private String paidobject;

    /**
     * 客户名称
     */
    @Column(name = "USERNAME")
    private String username;

    /**
     * 联系人
     */
    @Column(name = "CONTACT")
    private String contact;

    /**
     * 移动电话
     */
    @Column(name = "TEL")
    private String tel;

    /**
     * 迁入后房间状态
     */
    @Column(name = "TYPE")
    private String type;

    /**
     * 接房日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "PICKDATE")
    private Date pickdate;

    /**
     * 收费开始日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "STARTDATE")
    private Date startdate;

    /**
     * 收费结束日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "ENDDATE")
    private Date enddate;

    /**
     * 固定电话
     */
    @Column(name = "FIXED_TEL")
    private String fixedTel;

    /**
     * 备注
     */
    @Column(name = "BZ")
    private String bz;
    /**
     * 房间id
     */
    @Column(name = "ROOMID")
    private String roomId;

    @Column(name = "ROOM_NUM")
    private String roomNum;

    @Column(name = "OPERATOR")
    private String operator;

     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "UPDATETIME")
    private Date updateTime;

    @Column(name = "ZFBJ")
    private String zfbj;

    private String userCode;

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }

    /**
     * 获取主键
     *
     * @return UID - 主键
     */
    public String getUid() {
        return uid;
    }

    /**
     * 设置主键
     *
     * @param uid 主键
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    /**
     * 获取管理处
     *
     * @return MANAGEMENT - 管理处
     */
    public String getManagement() {
        return management;
    }

    /**
     * 设置管理处
     *
     * @param management 管理处
     */
    public void setManagement(String management) {
        this.management = management;
    }

    /**
     * 获取楼宇
     *
     * @return BUILDING - 楼宇
     */
    public String getBuilding() {
        return building;
    }

    /**
     * 设置楼宇
     *
     * @param building 楼宇
     */
    public void setBuilding(String building) {
        this.building = building;
    }

    /**
     * 获取入住日期
     *
     * @return CHECK_DATE - 入住日期
     */
    public Date getCheckDate() {
        return checkDate;
    }

    /**
     * 设置入住日期
     *
     * @param checkDate 入住日期
     */
    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    /**
     * 获取收费服务对象
     *
     * @return PAIDOBJECT - 收费服务对象
     */
    public String getPaidobject() {
        return paidobject;
    }

    /**
     * 设置收费服务对象
     *
     * @param paidobject 收费服务对象
     */
    public void setPaidobject(String paidobject) {
        this.paidobject = paidobject;
    }

    /**
     * 获取客户名称
     *
     * @return USERNAME - 客户名称
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置客户名称
     *
     * @param username 客户名称
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取联系人
     *
     * @return CONTACT - 联系人
     */
    public String getContact() {
        return contact;
    }

    /**
     * 设置联系人
     *
     * @param contact 联系人
     */
    public void setContact(String contact) {
        this.contact = contact;
    }

    /**
     * 获取移动电话
     *
     * @return TEL - 移动电话
     */
    public String getTel() {
        return tel;
    }

    /**
     * 设置移动电话
     *
     * @param tel 移动电话
     */
    public void setTel(String tel) {
        this.tel = tel;
    }

    /**
     * 获取迁入后房间状态
     *
     * @return TYPE - 迁入后房间状态
     */
    public String getType() {
        return type;
    }

    /**
     * 设置迁入后房间状态
     *
     * @param type 迁入后房间状态
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取接房日期
     *
     * @return PICKDATE - 接房日期
     */
    public Date getPickdate() {
        return pickdate;
    }

    /**
     * 设置接房日期
     *
     * @param pickdate 接房日期
     */
    public void setPickdate(Date pickdate) {
        this.pickdate = pickdate;
    }

    /**
     * 获取收费开始日期
     *
     * @return STARTDATE - 收费开始日期
     */
    public Date getStartdate() {
        return startdate;
    }

    /**
     * 设置收费开始日期
     *
     * @param startdate 收费开始日期
     */
    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    /**
     * 获取收费结束日期
     *
     * @return ENDDATE - 收费结束日期
     */
    public Date getEnddate() {
        return enddate;
    }

    /**
     * 设置收费结束日期
     *
     * @param enddate 收费结束日期
     */
    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    /**
     * 获取固定电话
     *
     * @return FIXED_TEL - 固定电话
     */
    public String getFixedTel() {
        return fixedTel;
    }

    /**
     * 设置固定电话
     *
     * @param fixedTel 固定电话
     */
    public void setFixedTel(String fixedTel) {
        this.fixedTel = fixedTel;
    }

    /**
     * 获取备注
     *
     * @return BZ - 备注
     */

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

}
